#!/usr/bin/env python
# encoding: utf-8

from rest_framework import serializers


class SmsCodeSerializer(serializers.Serializer):
    """短信code发送
    """
    phone = serializers.CharField(
        write_only=True,
        help_text=u'手机号'
    )

    class Meta:
        fields = (
            'phone',
        )
